/**
 * 
 */
package com.nh.orderEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.nh.entity.BaseEntity;

/**  
 * 项目名称：OrderingMiddleware 
 *
 * 类名称：XFBomEntity 
 *  
 * 类描述：   消费明细id
 *
 * 创建人：李兴建   
 *
 * E-mail:lxj08193@163.com 
 *
 * 创建时间：2013-1-15 下午09:26:49   
 *
 * 修改人：李兴建   
 *
 * 修改时间：2013-1-15 下午09:26:49   
 *
 * 修改备注：   
 *
 * @version   
 */
@Entity
@Table(name = "c_xf_bom")
public class XFBomEntity extends BaseEntity{
	private int xfmId;//消费明细id
	private int xfid;//消费单id
	private int meunId;//菜id
    private int count;//数量
    private String remake;//备注
    private int price;//价格
    private String xfRemake;//消费备注
    private String zpRemake;//赠品标志
	/**
	 * @return the xfmId
	 */
   
	@Id
	@Column(name = "消费明细id")
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "XNKY_BASE_IDENTITY")
	@SequenceGenerator(name = "XNKY_BASE_IDENTITY", initialValue = 1000000, allocationSize = 1)
	public int getXfmId() {
		return xfmId;
	}
	/**
	 * @param xfmId the xfmId to set
	 */
	public void setXfmId(int xfmId) {
		this.xfmId = xfmId;
	}
	/**
	 * @return the xfid
	 */
	@Column(name="消费单id")
	public int getXfid() {
		return xfid;
	}
	/**
	 * @param xfid the xfid to set
	 */
	public void setXfid(int xfid) {
		this.xfid = xfid;
	}
	/**
	 * @return the meunId
	 */
	@Column(name="菜id")
	public int getMeunId() {
		return meunId;
	}
	/**
	 * @param meunId the meunId to set
	 */
	public void setMeunId(int meunId) {
		this.meunId = meunId;
	}
	/**
	 * @return the count
	 */
	@Column(name="数量")
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}
	/**
	 * @return the remake
	 */
	@Column(name="备注")
	public String getRemake() {
		return remake;
	}
	/**
	 * @param remake the remake to set
	 */
	public void setRemake(String remake) {
		this.remake = remake;
	}
	/**
	 * @return the price
	 */
	 @Column(name="价格")
	public int getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(int price) {
		this.price = price;
	}
	/**
	 * @return the xfRemake
	 */
	@Column(name="消费备注")
	public String getXfRemake() {
		return xfRemake;
	}
	/**
	 * @param xfRemake the xfRemake to set
	 */
	public void setXfRemake(String xfRemake) {
		this.xfRemake = xfRemake;
	}
	/**
	 * @return the zpRemake
	 */
	@Column(name="赠品标志")
	public String getZpRemake() {
		return zpRemake;
	}
	/**
	 * @param zpRemake the zpRemake to set
	 */
	public void setZpRemake(String zpRemake) {
		this.zpRemake = zpRemake;
	}
	/**
	 * @return the othRemake
	 */
	
	
    
    
}
